package com.llc.mall.order.interfaces.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;

public record OrderItemVo(
        @Schema(description = "订单项ID") Long orderItemId,
        @Schema(description = "店铺id") Long shopId,
        @Schema(description = "订单id") Long orderId,
        @Schema(description = "产品ID") Long spuId,
        @Schema(description = "产品SkuID") Long skuId,
        @Schema(description = "用户Id") Long userId,
        @Schema(description = "购物车产品个数") Integer count,
        @Schema(description = "产品名称") String spuName,
        @Schema(description = "sku名称") String skuName,
        @Schema(description = "产品主图片路径") String pic,
        @Schema(description = "单个orderItem的配送类型 3：无需快递") Integer deliveryType,
        @Schema(description = "加入购物车时间") Date shopCartTime,
        @Schema(description = "产品价格") Long price,
        @Schema(description = "商品总金额") Long spuTotalAmount,
        @Schema(description = "发货改变的数量") Integer changeNum
) {}
